package net.trade.base.bean;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

public class TBusilogExample {
    protected String orderByClause;

    protected List oredCriteria;

    public TBusilogExample() {
        oredCriteria = new ArrayList();
    }

    protected TBusilogExample(TBusilogExample example) {
        this.orderByClause = example.orderByClause;
        this.oredCriteria = example.oredCriteria;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public List getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
    }

    public static class Criteria {
        protected List criteriaWithoutValue;

        protected List criteriaWithSingleValue;

        protected List criteriaWithListValue;

        protected List criteriaWithBetweenValue;

        protected Criteria() {
            super();
            criteriaWithoutValue = new ArrayList();
            criteriaWithSingleValue = new ArrayList();
            criteriaWithListValue = new ArrayList();
            criteriaWithBetweenValue = new ArrayList();
        }

        public boolean isValid() {
            return criteriaWithoutValue.size() > 0
                || criteriaWithSingleValue.size() > 0
                || criteriaWithListValue.size() > 0
                || criteriaWithBetweenValue.size() > 0;
        }

        public List getCriteriaWithoutValue() {
            return criteriaWithoutValue;
        }

        public List getCriteriaWithSingleValue() {
            return criteriaWithSingleValue;
        }

        public List getCriteriaWithListValue() {
            return criteriaWithListValue;
        }

        public List getCriteriaWithBetweenValue() {
            return criteriaWithBetweenValue;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteriaWithoutValue.add(condition);
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("value", value);
            criteriaWithSingleValue.add(map);
        }

        protected void addCriterion(String condition, List values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("values", values);
            criteriaWithListValue.add(map);
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            List list = new ArrayList();
            list.add(value1);
            list.add(value2);
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("values", list);
            criteriaWithBetweenValue.add(map);
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List dateList = new ArrayList();
            Iterator iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Time(((Date)iter.next()).getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andBlFlownoIsNull() {
            addCriterion("bl_flowno is null");
            return this;
        }

        public Criteria andBlFlownoIsNotNull() {
            addCriterion("bl_flowno is not null");
            return this;
        }

        public Criteria andBlFlownoEqualTo(String value) {
            addCriterion("bl_flowno =", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoNotEqualTo(String value) {
            addCriterion("bl_flowno <>", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoGreaterThan(String value) {
            addCriterion("bl_flowno >", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoGreaterThanOrEqualTo(String value) {
            addCriterion("bl_flowno >=", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoLessThan(String value) {
            addCriterion("bl_flowno <", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoLessThanOrEqualTo(String value) {
            addCriterion("bl_flowno <=", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoLike(String value) {
            addCriterion("bl_flowno like", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoNotLike(String value) {
            addCriterion("bl_flowno not like", value, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoIn(List values) {
            addCriterion("bl_flowno in", values, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoNotIn(List values) {
            addCriterion("bl_flowno not in", values, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoBetween(String value1, String value2) {
            addCriterion("bl_flowno between", value1, value2, "blFlowno");
            return this;
        }

        public Criteria andBlFlownoNotBetween(String value1, String value2) {
            addCriterion("bl_flowno not between", value1, value2, "blFlowno");
            return this;
        }

        public Criteria andSuIdIsNull() {
            addCriterion("SU_ID is null");
            return this;
        }

        public Criteria andSuIdIsNotNull() {
            addCriterion("SU_ID is not null");
            return this;
        }

        public Criteria andSuIdEqualTo(String value) {
            addCriterion("SU_ID =", value, "suId");
            return this;
        }

        public Criteria andSuIdNotEqualTo(String value) {
            addCriterion("SU_ID <>", value, "suId");
            return this;
        }

        public Criteria andSuIdGreaterThan(String value) {
            addCriterion("SU_ID >", value, "suId");
            return this;
        }

        public Criteria andSuIdGreaterThanOrEqualTo(String value) {
            addCriterion("SU_ID >=", value, "suId");
            return this;
        }

        public Criteria andSuIdLessThan(String value) {
            addCriterion("SU_ID <", value, "suId");
            return this;
        }

        public Criteria andSuIdLessThanOrEqualTo(String value) {
            addCriterion("SU_ID <=", value, "suId");
            return this;
        }

        public Criteria andSuIdLike(String value) {
            addCriterion("SU_ID like", value, "suId");
            return this;
        }

        public Criteria andSuIdNotLike(String value) {
            addCriterion("SU_ID not like", value, "suId");
            return this;
        }

        public Criteria andSuIdIn(List values) {
            addCriterion("SU_ID in", values, "suId");
            return this;
        }

        public Criteria andSuIdNotIn(List values) {
            addCriterion("SU_ID not in", values, "suId");
            return this;
        }

        public Criteria andSuIdBetween(String value1, String value2) {
            addCriterion("SU_ID between", value1, value2, "suId");
            return this;
        }

        public Criteria andSuIdNotBetween(String value1, String value2) {
            addCriterion("SU_ID not between", value1, value2, "suId");
            return this;
        }

        public Criteria andBlDateIsNull() {
            addCriterion("bl_date is null");
            return this;
        }

        public Criteria andBlDateIsNotNull() {
            addCriterion("bl_date is not null");
            return this;
        }

        public Criteria andBlDateEqualTo(Date value) {
            addCriterionForJDBCTime("bl_date =", value, "blDate");
            return this;
        }

        public Criteria andBlDateNotEqualTo(Date value) {
            addCriterionForJDBCTime("bl_date <>", value, "blDate");
            return this;
        }

        public Criteria andBlDateGreaterThan(Date value) {
            addCriterionForJDBCTime("bl_date >", value, "blDate");
            return this;
        }

        public Criteria andBlDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("bl_date >=", value, "blDate");
            return this;
        }

        public Criteria andBlDateLessThan(Date value) {
            addCriterionForJDBCTime("bl_date <", value, "blDate");
            return this;
        }

        public Criteria andBlDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("bl_date <=", value, "blDate");
            return this;
        }

        public Criteria andBlDateIn(List values) {
            addCriterionForJDBCTime("bl_date in", values, "blDate");
            return this;
        }

        public Criteria andBlDateNotIn(List values) {
            addCriterionForJDBCTime("bl_date not in", values, "blDate");
            return this;
        }

        public Criteria andBlDateBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("bl_date between", value1, value2, "blDate");
            return this;
        }

        public Criteria andBlDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("bl_date not between", value1, value2, "blDate");
            return this;
        }

        public Criteria andBlTypeIsNull() {
            addCriterion("bl_type is null");
            return this;
        }

        public Criteria andBlTypeIsNotNull() {
            addCriterion("bl_type is not null");
            return this;
        }

        public Criteria andBlTypeEqualTo(String value) {
            addCriterion("bl_type =", value, "blType");
            return this;
        }

        public Criteria andBlTypeNotEqualTo(String value) {
            addCriterion("bl_type <>", value, "blType");
            return this;
        }

        public Criteria andBlTypeGreaterThan(String value) {
            addCriterion("bl_type >", value, "blType");
            return this;
        }

        public Criteria andBlTypeGreaterThanOrEqualTo(String value) {
            addCriterion("bl_type >=", value, "blType");
            return this;
        }

        public Criteria andBlTypeLessThan(String value) {
            addCriterion("bl_type <", value, "blType");
            return this;
        }

        public Criteria andBlTypeLessThanOrEqualTo(String value) {
            addCriterion("bl_type <=", value, "blType");
            return this;
        }

        public Criteria andBlTypeLike(String value) {
            addCriterion("bl_type like", value, "blType");
            return this;
        }

        public Criteria andBlTypeNotLike(String value) {
            addCriterion("bl_type not like", value, "blType");
            return this;
        }

        public Criteria andBlTypeIn(List values) {
            addCriterion("bl_type in", values, "blType");
            return this;
        }

        public Criteria andBlTypeNotIn(List values) {
            addCriterion("bl_type not in", values, "blType");
            return this;
        }

        public Criteria andBlTypeBetween(String value1, String value2) {
            addCriterion("bl_type between", value1, value2, "blType");
            return this;
        }

        public Criteria andBlTypeNotBetween(String value1, String value2) {
            addCriterion("bl_type not between", value1, value2, "blType");
            return this;
        }

        public Criteria andBlDirectIsNull() {
            addCriterion("bl_direct is null");
            return this;
        }

        public Criteria andBlDirectIsNotNull() {
            addCriterion("bl_direct is not null");
            return this;
        }

        public Criteria andBlDirectEqualTo(String value) {
            addCriterion("bl_direct =", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectNotEqualTo(String value) {
            addCriterion("bl_direct <>", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectGreaterThan(String value) {
            addCriterion("bl_direct >", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectGreaterThanOrEqualTo(String value) {
            addCriterion("bl_direct >=", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectLessThan(String value) {
            addCriterion("bl_direct <", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectLessThanOrEqualTo(String value) {
            addCriterion("bl_direct <=", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectLike(String value) {
            addCriterion("bl_direct like", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectNotLike(String value) {
            addCriterion("bl_direct not like", value, "blDirect");
            return this;
        }

        public Criteria andBlDirectIn(List values) {
            addCriterion("bl_direct in", values, "blDirect");
            return this;
        }

        public Criteria andBlDirectNotIn(List values) {
            addCriterion("bl_direct not in", values, "blDirect");
            return this;
        }

        public Criteria andBlDirectBetween(String value1, String value2) {
            addCriterion("bl_direct between", value1, value2, "blDirect");
            return this;
        }

        public Criteria andBlDirectNotBetween(String value1, String value2) {
            addCriterion("bl_direct not between", value1, value2, "blDirect");
            return this;
        }

        public Criteria andBlPointIsNull() {
            addCriterion("bl_point is null");
            return this;
        }

        public Criteria andBlPointIsNotNull() {
            addCriterion("bl_point is not null");
            return this;
        }

        public Criteria andBlPointEqualTo(Integer value) {
            addCriterion("bl_point =", value, "blPoint");
            return this;
        }

        public Criteria andBlPointNotEqualTo(Integer value) {
            addCriterion("bl_point <>", value, "blPoint");
            return this;
        }

        public Criteria andBlPointGreaterThan(Integer value) {
            addCriterion("bl_point >", value, "blPoint");
            return this;
        }

        public Criteria andBlPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("bl_point >=", value, "blPoint");
            return this;
        }

        public Criteria andBlPointLessThan(Integer value) {
            addCriterion("bl_point <", value, "blPoint");
            return this;
        }

        public Criteria andBlPointLessThanOrEqualTo(Integer value) {
            addCriterion("bl_point <=", value, "blPoint");
            return this;
        }

        public Criteria andBlPointIn(List values) {
            addCriterion("bl_point in", values, "blPoint");
            return this;
        }

        public Criteria andBlPointNotIn(List values) {
            addCriterion("bl_point not in", values, "blPoint");
            return this;
        }

        public Criteria andBlPointBetween(Integer value1, Integer value2) {
            addCriterion("bl_point between", value1, value2, "blPoint");
            return this;
        }

        public Criteria andBlPointNotBetween(Integer value1, Integer value2) {
            addCriterion("bl_point not between", value1, value2, "blPoint");
            return this;
        }

        public Criteria andBlNumIsNull() {
            addCriterion("bl_num is null");
            return this;
        }

        public Criteria andBlNumIsNotNull() {
            addCriterion("bl_num is not null");
            return this;
        }

        public Criteria andBlNumEqualTo(Integer value) {
            addCriterion("bl_num =", value, "blNum");
            return this;
        }

        public Criteria andBlNumNotEqualTo(Integer value) {
            addCriterion("bl_num <>", value, "blNum");
            return this;
        }

        public Criteria andBlNumGreaterThan(Integer value) {
            addCriterion("bl_num >", value, "blNum");
            return this;
        }

        public Criteria andBlNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("bl_num >=", value, "blNum");
            return this;
        }

        public Criteria andBlNumLessThan(Integer value) {
            addCriterion("bl_num <", value, "blNum");
            return this;
        }

        public Criteria andBlNumLessThanOrEqualTo(Integer value) {
            addCriterion("bl_num <=", value, "blNum");
            return this;
        }

        public Criteria andBlNumIn(List values) {
            addCriterion("bl_num in", values, "blNum");
            return this;
        }

        public Criteria andBlNumNotIn(List values) {
            addCriterion("bl_num not in", values, "blNum");
            return this;
        }

        public Criteria andBlNumBetween(Integer value1, Integer value2) {
            addCriterion("bl_num between", value1, value2, "blNum");
            return this;
        }

        public Criteria andBlNumNotBetween(Integer value1, Integer value2) {
            addCriterion("bl_num not between", value1, value2, "blNum");
            return this;
        }

        public Criteria andBlCdIsNull() {
            addCriterion("bl_cd is null");
            return this;
        }

        public Criteria andBlCdIsNotNull() {
            addCriterion("bl_cd is not null");
            return this;
        }

        public Criteria andBlCdEqualTo(BigDecimal value) {
            addCriterion("bl_cd =", value, "blCd");
            return this;
        }

        public Criteria andBlCdNotEqualTo(BigDecimal value) {
            addCriterion("bl_cd <>", value, "blCd");
            return this;
        }

        public Criteria andBlCdGreaterThan(BigDecimal value) {
            addCriterion("bl_cd >", value, "blCd");
            return this;
        }

        public Criteria andBlCdGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bl_cd >=", value, "blCd");
            return this;
        }

        public Criteria andBlCdLessThan(BigDecimal value) {
            addCriterion("bl_cd <", value, "blCd");
            return this;
        }

        public Criteria andBlCdLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bl_cd <=", value, "blCd");
            return this;
        }

        public Criteria andBlCdIn(List values) {
            addCriterion("bl_cd in", values, "blCd");
            return this;
        }

        public Criteria andBlCdNotIn(List values) {
            addCriterion("bl_cd not in", values, "blCd");
            return this;
        }

        public Criteria andBlCdBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bl_cd between", value1, value2, "blCd");
            return this;
        }

        public Criteria andBlCdNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bl_cd not between", value1, value2, "blCd");
            return this;
        }

        public Criteria andBlHcIsNull() {
            addCriterion("bl_hc is null");
            return this;
        }

        public Criteria andBlHcIsNotNull() {
            addCriterion("bl_hc is not null");
            return this;
        }

        public Criteria andBlHcEqualTo(BigDecimal value) {
            addCriterion("bl_hc =", value, "blHc");
            return this;
        }

        public Criteria andBlHcNotEqualTo(BigDecimal value) {
            addCriterion("bl_hc <>", value, "blHc");
            return this;
        }

        public Criteria andBlHcGreaterThan(BigDecimal value) {
            addCriterion("bl_hc >", value, "blHc");
            return this;
        }

        public Criteria andBlHcGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bl_hc >=", value, "blHc");
            return this;
        }

        public Criteria andBlHcLessThan(BigDecimal value) {
            addCriterion("bl_hc <", value, "blHc");
            return this;
        }

        public Criteria andBlHcLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bl_hc <=", value, "blHc");
            return this;
        }

        public Criteria andBlHcIn(List values) {
            addCriterion("bl_hc in", values, "blHc");
            return this;
        }

        public Criteria andBlHcNotIn(List values) {
            addCriterion("bl_hc not in", values, "blHc");
            return this;
        }

        public Criteria andBlHcBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bl_hc between", value1, value2, "blHc");
            return this;
        }

        public Criteria andBlHcNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bl_hc not between", value1, value2, "blHc");
            return this;
        }

        public Criteria andRecUpdatetimeIsNull() {
            addCriterion("REC_UPDATETIME is null");
            return this;
        }

        public Criteria andRecUpdatetimeIsNotNull() {
            addCriterion("REC_UPDATETIME is not null");
            return this;
        }

        public Criteria andRecUpdatetimeEqualTo(Date value) {
            addCriterion("REC_UPDATETIME =", value, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeNotEqualTo(Date value) {
            addCriterion("REC_UPDATETIME <>", value, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeGreaterThan(Date value) {
            addCriterion("REC_UPDATETIME >", value, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REC_UPDATETIME >=", value, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeLessThan(Date value) {
            addCriterion("REC_UPDATETIME <", value, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("REC_UPDATETIME <=", value, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeIn(List values) {
            addCriterion("REC_UPDATETIME in", values, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeNotIn(List values) {
            addCriterion("REC_UPDATETIME not in", values, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("REC_UPDATETIME between", value1, value2, "recUpdatetime");
            return this;
        }

        public Criteria andRecUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("REC_UPDATETIME not between", value1, value2, "recUpdatetime");
            return this;
        }

        public Criteria andEnabledIsNull() {
            addCriterion("ENABLED is null");
            return this;
        }

        public Criteria andEnabledIsNotNull() {
            addCriterion("ENABLED is not null");
            return this;
        }

        public Criteria andEnabledEqualTo(String value) {
            addCriterion("ENABLED =", value, "enabled");
            return this;
        }

        public Criteria andEnabledNotEqualTo(String value) {
            addCriterion("ENABLED <>", value, "enabled");
            return this;
        }

        public Criteria andEnabledGreaterThan(String value) {
            addCriterion("ENABLED >", value, "enabled");
            return this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(String value) {
            addCriterion("ENABLED >=", value, "enabled");
            return this;
        }

        public Criteria andEnabledLessThan(String value) {
            addCriterion("ENABLED <", value, "enabled");
            return this;
        }

        public Criteria andEnabledLessThanOrEqualTo(String value) {
            addCriterion("ENABLED <=", value, "enabled");
            return this;
        }

        public Criteria andEnabledLike(String value) {
            addCriterion("ENABLED like", value, "enabled");
            return this;
        }

        public Criteria andEnabledNotLike(String value) {
            addCriterion("ENABLED not like", value, "enabled");
            return this;
        }

        public Criteria andEnabledIn(List values) {
            addCriterion("ENABLED in", values, "enabled");
            return this;
        }

        public Criteria andEnabledNotIn(List values) {
            addCriterion("ENABLED not in", values, "enabled");
            return this;
        }

        public Criteria andEnabledBetween(String value1, String value2) {
            addCriterion("ENABLED between", value1, value2, "enabled");
            return this;
        }

        public Criteria andEnabledNotBetween(String value1, String value2) {
            addCriterion("ENABLED not between", value1, value2, "enabled");
            return this;
        }

        public Criteria andRecStatusIsNull() {
            addCriterion("REC_STATUS is null");
            return this;
        }

        public Criteria andRecStatusIsNotNull() {
            addCriterion("REC_STATUS is not null");
            return this;
        }

        public Criteria andRecStatusEqualTo(String value) {
            addCriterion("REC_STATUS =", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusNotEqualTo(String value) {
            addCriterion("REC_STATUS <>", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusGreaterThan(String value) {
            addCriterion("REC_STATUS >", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusGreaterThanOrEqualTo(String value) {
            addCriterion("REC_STATUS >=", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusLessThan(String value) {
            addCriterion("REC_STATUS <", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusLessThanOrEqualTo(String value) {
            addCriterion("REC_STATUS <=", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusLike(String value) {
            addCriterion("REC_STATUS like", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusNotLike(String value) {
            addCriterion("REC_STATUS not like", value, "recStatus");
            return this;
        }

        public Criteria andRecStatusIn(List values) {
            addCriterion("REC_STATUS in", values, "recStatus");
            return this;
        }

        public Criteria andRecStatusNotIn(List values) {
            addCriterion("REC_STATUS not in", values, "recStatus");
            return this;
        }

        public Criteria andRecStatusBetween(String value1, String value2) {
            addCriterion("REC_STATUS between", value1, value2, "recStatus");
            return this;
        }

        public Criteria andRecStatusNotBetween(String value1, String value2) {
            addCriterion("REC_STATUS not between", value1, value2, "recStatus");
            return this;
        }

        public Criteria andRecPersonIsNull() {
            addCriterion("REC_PERSON is null");
            return this;
        }

        public Criteria andRecPersonIsNotNull() {
            addCriterion("REC_PERSON is not null");
            return this;
        }

        public Criteria andRecPersonEqualTo(String value) {
            addCriterion("REC_PERSON =", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonNotEqualTo(String value) {
            addCriterion("REC_PERSON <>", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonGreaterThan(String value) {
            addCriterion("REC_PERSON >", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonGreaterThanOrEqualTo(String value) {
            addCriterion("REC_PERSON >=", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonLessThan(String value) {
            addCriterion("REC_PERSON <", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonLessThanOrEqualTo(String value) {
            addCriterion("REC_PERSON <=", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonLike(String value) {
            addCriterion("REC_PERSON like", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonNotLike(String value) {
            addCriterion("REC_PERSON not like", value, "recPerson");
            return this;
        }

        public Criteria andRecPersonIn(List values) {
            addCriterion("REC_PERSON in", values, "recPerson");
            return this;
        }

        public Criteria andRecPersonNotIn(List values) {
            addCriterion("REC_PERSON not in", values, "recPerson");
            return this;
        }

        public Criteria andRecPersonBetween(String value1, String value2) {
            addCriterion("REC_PERSON between", value1, value2, "recPerson");
            return this;
        }

        public Criteria andRecPersonNotBetween(String value1, String value2) {
            addCriterion("REC_PERSON not between", value1, value2, "recPerson");
            return this;
        }

        public Criteria andRecTimeIsNull() {
            addCriterion("REC_TIME is null");
            return this;
        }

        public Criteria andRecTimeIsNotNull() {
            addCriterion("REC_TIME is not null");
            return this;
        }

        public Criteria andRecTimeEqualTo(Date value) {
            addCriterion("REC_TIME =", value, "recTime");
            return this;
        }

        public Criteria andRecTimeNotEqualTo(Date value) {
            addCriterion("REC_TIME <>", value, "recTime");
            return this;
        }

        public Criteria andRecTimeGreaterThan(Date value) {
            addCriterion("REC_TIME >", value, "recTime");
            return this;
        }

        public Criteria andRecTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REC_TIME >=", value, "recTime");
            return this;
        }

        public Criteria andRecTimeLessThan(Date value) {
            addCriterion("REC_TIME <", value, "recTime");
            return this;
        }

        public Criteria andRecTimeLessThanOrEqualTo(Date value) {
            addCriterion("REC_TIME <=", value, "recTime");
            return this;
        }

        public Criteria andRecTimeIn(List values) {
            addCriterion("REC_TIME in", values, "recTime");
            return this;
        }

        public Criteria andRecTimeNotIn(List values) {
            addCriterion("REC_TIME not in", values, "recTime");
            return this;
        }

        public Criteria andRecTimeBetween(Date value1, Date value2) {
            addCriterion("REC_TIME between", value1, value2, "recTime");
            return this;
        }

        public Criteria andRecTimeNotBetween(Date value1, Date value2) {
            addCriterion("REC_TIME not between", value1, value2, "recTime");
            return this;
        }

        public Criteria andRecUpdatepersonIsNull() {
            addCriterion("REC_UPDATEPERSON is null");
            return this;
        }

        public Criteria andRecUpdatepersonIsNotNull() {
            addCriterion("REC_UPDATEPERSON is not null");
            return this;
        }

        public Criteria andRecUpdatepersonEqualTo(String value) {
            addCriterion("REC_UPDATEPERSON =", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonNotEqualTo(String value) {
            addCriterion("REC_UPDATEPERSON <>", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonGreaterThan(String value) {
            addCriterion("REC_UPDATEPERSON >", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonGreaterThanOrEqualTo(String value) {
            addCriterion("REC_UPDATEPERSON >=", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonLessThan(String value) {
            addCriterion("REC_UPDATEPERSON <", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonLessThanOrEqualTo(String value) {
            addCriterion("REC_UPDATEPERSON <=", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonLike(String value) {
            addCriterion("REC_UPDATEPERSON like", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonNotLike(String value) {
            addCriterion("REC_UPDATEPERSON not like", value, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonIn(List values) {
            addCriterion("REC_UPDATEPERSON in", values, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonNotIn(List values) {
            addCriterion("REC_UPDATEPERSON not in", values, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonBetween(String value1, String value2) {
            addCriterion("REC_UPDATEPERSON between", value1, value2, "recUpdateperson");
            return this;
        }

        public Criteria andRecUpdatepersonNotBetween(String value1, String value2) {
            addCriterion("REC_UPDATEPERSON not between", value1, value2, "recUpdateperson");
            return this;
        }

        public Criteria andRecIdIsNull() {
            addCriterion("REC_ID is null");
            return this;
        }

        public Criteria andRecIdIsNotNull() {
            addCriterion("REC_ID is not null");
            return this;
        }

        public Criteria andRecIdEqualTo(String value) {
            addCriterion("REC_ID =", value, "recId");
            return this;
        }

        public Criteria andRecIdNotEqualTo(String value) {
            addCriterion("REC_ID <>", value, "recId");
            return this;
        }

        public Criteria andRecIdGreaterThan(String value) {
            addCriterion("REC_ID >", value, "recId");
            return this;
        }

        public Criteria andRecIdGreaterThanOrEqualTo(String value) {
            addCriterion("REC_ID >=", value, "recId");
            return this;
        }

        public Criteria andRecIdLessThan(String value) {
            addCriterion("REC_ID <", value, "recId");
            return this;
        }

        public Criteria andRecIdLessThanOrEqualTo(String value) {
            addCriterion("REC_ID <=", value, "recId");
            return this;
        }

        public Criteria andRecIdLike(String value) {
            addCriterion("REC_ID like", value, "recId");
            return this;
        }

        public Criteria andRecIdNotLike(String value) {
            addCriterion("REC_ID not like", value, "recId");
            return this;
        }

        public Criteria andRecIdIn(List values) {
            addCriterion("REC_ID in", values, "recId");
            return this;
        }

        public Criteria andRecIdNotIn(List values) {
            addCriterion("REC_ID not in", values, "recId");
            return this;
        }

        public Criteria andRecIdBetween(String value1, String value2) {
            addCriterion("REC_ID between", value1, value2, "recId");
            return this;
        }

        public Criteria andRecIdNotBetween(String value1, String value2) {
            addCriterion("REC_ID not between", value1, value2, "recId");
            return this;
        }
    }
}